<!DOCTYPE html>
<html>
<head>
	<meta charset="utf-8" / >
	<title></title>
	<script type="text/javascript" src="./CalcEval.js"></script>
</head>
<body>


<script type="text/javascript">
	var ce = new CalcEval();//创建引擎对象

	let a = 0.7

	let str = `(${a}+0.1)/(45.6*13)`
	let str2 = `(${a}+0.1)/2+(0.1+0.2)-(10)`

	console.log(str)
	let result1 = ce.eval(str)
	let result2 = ce.eval(str2)
	console.log(result1,result2)
	console.log(ce.matchOutBrackets(str2))
</script>

</body>
</html>